/**
 * 作者: hxl
 * 日期: 2024-11-18 14:58:29
 * 备注: 秘书巡查事件表
 */
package com.motu.monstercity.server.game.commondata.patrol;
import com.motu.vertx.module.utility.toolset.Tool;
import io.vertx.core.json.JsonObject;

public class PatrolLocation extends PatrolLocationModel {
    public static final int EVENT_TYPE_DIALOG = 1; // 普通对话事件

    private int[] rewardArray = null; // 事件奖励
    private int[] secretaryRewardArray = null; // 增加的亲密度或好感度（即碎片数量）
    public PatrolLocation(JsonObject obj) {
        super(obj);
        this.rewardArray = Tool.isEmpty(reward) ? new int[0] : Tool.strToIntArray(reward, ";");
        this.secretaryRewardArray = Tool.isEmpty(secretaryReward) ? new int[0] : Tool.strToIntArray(secretaryReward, ";");
    }

    public int[] getRewardArray() {
        return rewardArray;
    }

    public int[] getSecretaryRewardArray() {
        return secretaryRewardArray;
    }
}
